package vamp_serviceweb

class Link {

    String title;
    String uri;
    String linktype;
    Poi poi;

    static constraints = {
         title(nullable: true, blank: true)
         uri(nullable: true, blank: true)
         linktype(nullable: true, blank: true)
         poi(nullable:  true, blank: true)
    }


    static mapping = {
        id column: 'idlink'
        poi column: 'idpoi'
    }
}
